// 获取数字
Mock.mock('http://number.test.com', {
    "rows": [{
        'Column1|1-9': 0
    }]
});

// 获取产品
Mock.mock('http://Goods.test.com', {
    "rows|20-40": [{
        "GoodsSortName|1": ["注塑单品", "组装品", "加工品"],
        "MkCode|1": ["XW-00013"],
        'GoodsName|1': ["DG15302-3D / 插片", "DG16866-2D / 底座", "75-1273-20塑胶件", "DG16867-2D / 外盒s", "75-1273-20塑胶件", "中保持架 LGS45H"],
        'Wait|1-999': 20,
        "wait|1-10": 30,
        "jin|0-99": 6,
        "Quantity|1-999999": 6,
        "QtyProcess|1-999999": 4,
        "PPT|1": ["PPT202109230001", "PPT202109230002"],
        '1月|1': 2,
        "2月|1-100": 3000,
        '3月|10-90': 2000,
        "4月|1-100": 3000,
        "5月|0-100": 40000,
        "6月|-90-999999999999999": 999999999999999,
        '7月|10-90': 20000,
        "8月|1-100": 3000,
        '9月|10-90': 20000,
        "10月|1-100": 30000,
        "11月|0-100": 4000,
        "12月|0-99999999999": 999999,
        "type|1": ["材料采购", "贸易采购"],
        "PATaskQty|1-999999":100,
        "Completed|1-999999":100,
        "Days|1-100":1,
        "ImplementShowText|1":["逾"],
        "Stauts|1":["close","open","-"],
        "zhuang|1":["正常","排单延期"],
        "PlanShowText|1":["正常","延后","提前"],
        "Plandays|1-900":1,
        "QtyShort|1-100":9,
        "QtyReceipt|1-999999":100,
        "RevDate|1":["2022-03-17 00:00:00.000","2022-03-11 00:00:00.000","2022-03-04 00:00:00.000"],
        "overdue|0-5":4,
        "NotOverdue|0-10":5,
        "ShowText|1":["逾","剩"],
        "GoodsImg|1":[""]
    }]
});


// 获取职员
Mock.mock('http://Staff.test.com', {
    "rows|3-12": [{
        'Name': '@cname',
        'WorkerValue|1-999': 20
    }]
});



// 获取设备   设备状态列表中使用
Mock.mock('http://Equipment.test.com', {
    "rows|40": [{
        "AsEqCode": "注塑机",
        "AsEqName": "注塑机",
        "AsEqStatusico|1": ["#icon-Standby", "#icon-repair", "#icon-maintain", "#icon-Power"],
        "AsEqStatus|1": ["Standby", "repair", "maintain", "Power"],
        "SetupAddress|1": ["湖北省", "陕西省", "山东省"] //  "@county(true)"
    }]
});




// 获取小微产品清单  小微产品清单列表中使用
Mock.mock('http://MakerGoods.test.com', {
    "rows|5-80": [{

        "MkName|1": ["黄初招注塑团队", "黄龙组装团队", "刘韩组装团队", "覃春海2注塑团队", "覃春海注塑团队", "维仕豪小薇", "王善合组装团队", "	余美昌组装团队"],
        'GoodsName|1': ["DG15302-3D / 插片", "DG16866-2D / 底座", "DG16867-2D / 外盒", "DG16867-2D / 外盒s"],
        "ProdTime|2-999": 5,
        "ProPrice|5-99": 6,
        "QtyDayPrt|9-999": 5,
        "DayAmtVal|5-999": 9
    }]
});


// 获取销售订单  订单出货中使用
Mock.mock('http://OrderOut.test.com', {
    "rows|5-80": [{
        "SLSP|1": ["SZ202103170001", "SZ202103170002", "SZ202103170003"],
        "ClientCode|1": ["KH-001", "KH-002", "KH-003", "KH-004"],
        'GoodsName|1': ["DG15302-3D / 插片", "DG16866-2D / 底座", "75-1273-20塑胶件", "DG16867-2D / 外盒s", "75-1273-20塑胶件", "中保持架 LGS45H"],
        "Model|1": ["英规 230V", "LGS45HLGS45H"],
        "Quantity|2-999": 5,
        "QtyDelivery|5-99": 6,
        "WaitQty|9-999": 5,
        "Qtystock|5-999": 9,
        "DeliveryDate|1": ["2021/08/8", "2021/08/18"],
        "OverdueDays|1": [0, 156, 1],
        "Stauts|1": ["open", "close"],
        "name|1": ["英规 230V", "LGS45HLGS45H"],
        "amount1|1": ["DG15302-3D / 插片", "DG16866-2D / 底座"],
        "days|1":["10","1","9","10"],
        "ShowText|1":["逾"],
        "IsShortMatl|1":["OK","缺","-"],
        "PrtStatus|1":["正常","排单延期","-","生产延期"],
        "YQty|1":7,
        "MatlQtyShortType|1":10

    }]
});

// 获取小微产品清单  小微产品清单列表中使用
Mock.mock('http://InStore.test.com', {
    "rows|5-80": [{
        "poid|1": ["PO202103170001", "PO202103170002", "PO202103170003"],
        "MkName|1": ["XW-001", "XW-002", "XW-003", "XW-004"],
        'modname|1': ["DG15302-3D / 插片", "DG16866-2D / 底座", "75-1273-20塑胶件", "DG16867-2D / 外盒s", "75-1273-20塑胶件", "中保持架 LGS45H"],
        "unit|1": ["克", "千克"],
        "QtyRev|2-999": 5,
        "date|1": ["2021-08-8", "2021-08-18"],
        "SupplierName|1": ["TST", "京华软件有限公司"]
    }]
});